package com.aaa.sys.service;

import com.aaa.sys.entity.Dept;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author ykq
 * @since 2020-11-26
 */
public interface DeptService extends IService<Dept> {

    List<Dept> findDeptTree();

    Page<Dept> searchDept(Integer page, Integer limit, Dept dept);
}
